﻿using System.Web;
using System.Web.Optimization;

namespace Twi.Websites
{
    public class BundleConfig
    {
        // 有关 Bundling 的详细信息，请访问 http://go.microsoft.com/fwlink/?LinkId=254725
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new StyleBundle("~/Framework/Extjs4CSS").Include(
             "~/Framework/Extjs4.2.0/resources/ext-theme-neptune/ext-theme-neptune-all.css",
             "~/Framework/Twi.Ext4/resources/css/iconCls.css"));

            bundles.Add(new StyleBundle("~/Framework/Extjs4").Include(
             "~/Framework/Extjs4.2.0/ext-all.js",
                // "~/Framework/Extjs4.2.0/ext-all-debug.js",
             "~/Framework/Extjs4.2.0/locale/ext-lang-zh_CN.js",
             "~/Framework/Twi.Ext4/Init.js"));
        }
    }
}